package cn.bgs.dao;

import cn.bgs.pojo.Animal;

import java.util.List;

public interface AnimalMapper {
    List<Animal> findAll();

    int deleteByPrimaryKey(Integer id);

    int insert(Animal record);

    int insertSelective(Animal record);

    Animal selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Animal record);

    int updateByPrimaryKey(Animal record);

    void delete(Integer id);
}
